#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int i = 0;
	int j = 0;
	int c = 0;
	scanf("%4d%2d%2d", &i, &j, &c);
	printf("year=%d\n", i);
	printf("month=%2d\n", j);
	printf("date=%2d", c);
	return 0;
}